package com.his.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 员工表
 * </p>
 *
 * @author Demoon Liu
 * @since 2022-02-20
 */
public class Staff implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String username;

    private String password;

    private Integer status;

    private LocalDateTime createtime;

    private Integer gender;

    private Integer skdflag;

    private String title;

    private String name;

    private Long deptid;

    private Long registrationrankid;

    private Integer type;

    private Integer securitystatus;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public LocalDateTime getCreatetime() {
        return createtime;
    }

    public void setCreatetime(LocalDateTime createtime) {
        this.createtime = createtime;
    }
    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }
    public Integer getSkdflag() {
        return skdflag;
    }

    public void setSkdflag(Integer skdflag) {
        this.skdflag = skdflag;
    }
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public Long getDeptid() {
        return deptid;
    }

    public void setDeptid(Long deptid) {
        this.deptid = deptid;
    }
    public Long getRegistrationrankid() {
        return registrationrankid;
    }

    public void setRegistrationrankid(Long registrationrankid) {
        this.registrationrankid = registrationrankid;
    }
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    public Integer getSecuritystatus() {
        return securitystatus;
    }

    public void setSecuritystatus(Integer securitystatus) {
        this.securitystatus = securitystatus;
    }

    @Override
    public String toString() {
        return "Staff{" +
            "id=" + id +
            ", username=" + username +
            ", password=" + password +
            ", status=" + status +
            ", createtime=" + createtime +
            ", gender=" + gender +
            ", skdflag=" + skdflag +
            ", title=" + title +
            ", name=" + name +
            ", deptid=" + deptid +
            ", registrationrankid=" + registrationrankid +
            ", type=" + type +
            ", securitystatus=" + securitystatus +
        "}";
    }
}
